<?php /*a:1:{s:64:"D:\xinwujia\xshop\application\admin\view\member\table\index.html";i:1533966332;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>幻灯片</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <script src="/lib/jquery/1.9.1/jquery.js"></script>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <script src="/H-ui.admin/lib/layer/2.4/layer.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<div class="container-fluid" style="margin: 20px 50px">
    <div class="col-md-4">
        <div class="btn-group">
            <a class="btn btn-primary" href="<?php echo url('edit'); ?>">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                添加用户</a>
        </div>
    </div>
    <form class="col-md-8"action="<?php echo url('search'); ?>" method="post">
        <div class="col-md-12" style="float:right">
            <div class=" col-sm-9">
                <div class="input-group">
                    <span class="input-group-addon">关键字(昵称)</span>
                    <input type="text" class="form-control" id="exampleInputEmail2" name="content" placeholder="">
                </div>
            </div>
            <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>搜索</button>
        </div>
    </form>

</div>


<div style="margin: 10px 50px">
    <table class="table table-hover" style="width:100%">
        <tr>
            <th>ID</th>
            <th>头像</th>
            <th>手机号</th>
            <th>昵称</th>
            <th>真实姓名</th>
            <th>性别</th>
            <th>操作</th>
        </tr>
        <?php foreach($items as $value): ?>
        <tr>
            <td><?php echo htmlentities($value['uid']); ?></td>
            <td>
                <img src="<?php echo htmlentities($value['headimg']); ?>" class="img-responsive img-thumbnail" style="width: 100px"/>
            </td>
            <td><?php echo htmlentities($value['mobile']); ?></td>
            <td><?php echo htmlentities($value['nickname']); ?></td>
            <td><?php echo htmlentities($value['rname']); ?></td>
            <td>
                <?php switch($value['sex']): case "0": ?>男<?php break; case "1": ?>女<?php break; endswitch; ?>
            </td>
            <td>
                <a href="<?php echo url('edit'); ?>?id=<?php echo htmlentities($value['uid']); ?>" class="btn btn-primary btn-xs">编辑</a>
                <a href="<?php echo url('del'); ?>?id=<?php echo htmlentities($value['uid']); ?>}" class="btn btn-primary btn-xs">删除</a>
            </td>
        </tr>
        <?php endforeach; ?>
    </table>
    <div style=""><?php echo $page ?></div>
</div>


</body>
<script>

</script>
</html>